class PurchaseInfo{
  String discount;
  String procure;
  dynamic cashback;
  String caigouFee;
  Map<String,dynamic> discountInfo;
  Map<String,dynamic> cashbackInfo;
  PurchaseInfo({this.discount,this.procure,this.cashback,this.caigouFee,this.discountInfo,this.cashbackInfo});
  PurchaseInfo.fromJson(Map<String, dynamic> json) {
    discount = json['discount'];
    procure = json['procure'];
    cashback = json['cashback'];
    caigouFee = json['caigouFee'];
    discountInfo = json['discountInfo'];
    cashbackInfo = json['cashbackInfo'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['discount'] = this.discount;
    data['procure'] = this.procure;
    data['cashback'] = this.cashback;
    data['caigouFee'] = this.caigouFee;
    data['discountInfo'] = this.discountInfo;
    data['cashbackInfo'] = this.cashbackInfo;
    return data;
  }
}

class DiscountInfo{
  String discount_99;
  String discount_999;
  String discount_3999;
  DiscountInfo({this.discount_99,this.discount_999,this.discount_3999});
  DiscountInfo.fromJson(Map<String, dynamic> json) {
    discount_99 = json['discount_99'];
    discount_999 = json['discount_999'];
    discount_3999 = json['discount_3999'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['discount_99'] = this.discount_99;
    data['discount_999'] = this.discount_999;
    data['discount_3999'] = this.discount_3999;
    return data;
  }
}
class CashbackInfo{
  String cashback_10000;
  String cashback_20000;
  String cashback_50000;
  String cashback_100000;
  CashbackInfo({this.cashback_10000,this.cashback_20000,this.cashback_50000,this.cashback_100000});
  CashbackInfo.fromJson(Map<String, dynamic> json) {
    cashback_10000 = json['cashback_10000'];
    cashback_20000 = json['cashback_20000'];
    cashback_50000 = json['cashback_50000'];
    cashback_100000 = json['cashback_100000'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['cashback_10000'] = this.cashback_10000;
    data['cashback_20000'] = this.cashback_20000;
    data['cashback_50000'] = this.cashback_50000;
    data['cashback_100000'] = this.cashback_100000;
    return data;
  }
}